package com.ruoyi.project.system.recommendtitle.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 推荐标题对象 recommend_title
 * 
 * @author ruoyi
 * @date 2021-05-24
 */
public class RecommendTitle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键，只有一个，不自增 */
    private Long id;

    /** 首页应用推荐的名称，通过后台管理更改 */
    @Excel(name = "首页应用推荐的名称，通过后台管理更改")
    private String title;

    /** 描述 */
    @Excel(name = "描述")
    private String descrip;

    /** 更新名称的时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新名称的时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifytime;

    /** 删除标志：0存在 1删除 */
    @Excel(name = "删除标志：0存在 1删除")
    private String delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setDescrip(String descrip)
    {
        this.descrip = descrip;
    }

    public String getDescrip()
    {
        return descrip;
    }
    public void setModifytime(Date modifytime)
    {
        this.modifytime = modifytime;
    }

    public Date getModifytime()
    {
        return modifytime;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("descrip", getDescrip())
            .append("modifytime", getModifytime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
